#pragma once
#include <vector>
#include "../common/GlobalDefine.h"
enum {
	PATH_MAST = 0,
	PATH_BACK,
	PATH_RE1,
	PATH_RE2
};
class CPathAddpter
{
public:
	CPathAddpter(void);
	~CPathAddpter(void);
	BOOL InitPath(CString strPath);
	BOOL WritePath();
	void GetPathList(int itype, std::vector<sPos>& Vlist);
	void AddPosToList(sPos pos, int itype);
	void AddListToFile(std::vector<sPos>& Vlist, int itype);
	void Clear();
private:
	std::vector<sPos> mPosListP;
	std::vector<sPos> mPosListG;
	std::vector<sPos> mPosListR1;
	std::vector<sPos> mPosListR2;
	std::vector<sPos> mPosListF;
	CString mstrPath;
};

extern CPathAddpter g_oNewPath;